package com.hyxt.boot;

import com.hyxt.provider.T809ServerServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.PropertySource;


@SpringBootApplication
//@EnableAutoConfiguration(exclude = {
//        org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration.class
//})
public class ApiStart {
    public static void main(String[] args) {
        // 程序启动入口
        // 启动嵌入式的 Tomcat 并初始化 Spring 环境及其各 Spring 组件
        ConfigurableApplicationContext run =  SpringApplication.run(ApiStart.class,args);
//        T809ServerServiceImpl t809ServerService = run.getBean(T809ServerServiceImpl.class);
//        t809ServerService.startServer(10000,0);
    }
}